<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #first {
            width: 500px;
            font-size: 20px;
        }
        
        li {
            list-style: none;
            border-bottom: 1px grey dashed;
            background-color: white;
            padding: 10px 0px;
        }
        
        .bg {
            color: white;
            background-color: rgb(202, 54, 17);
        }
        
        .yin {
            display: none;
        }
        
        a {
            color: gray;
            text-decoration: none;
        }
        
        li:hover .yin {
            display: block;
            overflow: hidden;
        }
        
        span {
            width: 25px;
            height: 25px;
            text-align: center;
            color: white;
            display: inline-block;
            border-radius: 50%;
            background-color: gray;
        }
        
        li:hover span {
            background-color: darksalmon;
        }
        
        li:hover .yin p {
            color: rgb(202, 54, 17);
        }
        
        a:hover {
            color: rgb(202, 54, 17);
        }
    </style>
</head>

<body>
    <div id="first">
        <ul>
            <li class="bg">大家都喜欢的彩妆</li>
            <li>
                <a href=""><span>1</span> Za姬芮新能真皙美白隔离霜 35g</a>
                <div class="yin">
                    <img src="icon-1.jpg" alt="">
                    <p>￥62.00 最近69122人购买</p>
                </div>
            </li>
            <li>
                <a href=""><span>2</span> 美宝莲精纯矿物奇妙新颜乳霜BB霜 30ml </a>
                <div class="yin">
                    <img src="icon-2.jpg" alt="">
                    <p>￥89.00 最近13610人购买</p>
                </div>
            </li>
            <li>
                <a href=""><span>3</span> 菲奥娜水漾CC霜40g </a>
                <div class="yin">
                    <img src="icon-3.jpg" alt="">
                    <p>￥59.90 最近13403人购买</p>
                </div>
            </li>
            <li>
                <a href=""><span>4</span> DHC 蝶翠诗橄榄卸妆油 200ml </a>
                <div class="yin">
                    <img src="icon-4.jpg" alt="">
                    <p>￥169.00 最近16757人购买
                    </p>
                </div>
            </li>
        </ul>
    </div>
</body>

</html>